import request from "@/utils/request";

// 获取首页
export const getuserInfoAPI = (data) => {
  return request({
    url:`/CarpoolService/userInfo/`+data,
    method:'GET',
    
  })
}

export const editoruserInfoAPI = (data) => {
	console.log('Sending data:', data); // 打印发送的数据
  return request({
    url:`/CarpoolService/userInfo`,
    method:'PUT',
    data
  })
}